﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200129D RID: 4765
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SwordTrainingLearnSkillCsReq : IMessage<SwordTrainingLearnSkillCsReq>, IMessage, IEquatable<SwordTrainingLearnSkillCsReq>, IDeepCloneable<SwordTrainingLearnSkillCsReq>, IBufferMessage
	{
		// Token: 0x17003C59 RID: 15449
		// (get) Token: 0x0600D5A2 RID: 54690 RVA: 0x0023E7B4 File Offset: 0x0023C9B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SwordTrainingLearnSkillCsReq> Parser
		{
			get
			{
				return SwordTrainingLearnSkillCsReq._parser;
			}
		}

		// Token: 0x17003C5A RID: 15450
		// (get) Token: 0x0600D5A3 RID: 54691 RVA: 0x0023E7BB File Offset: 0x0023C9BB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SwordTrainingLearnSkillCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003C5B RID: 15451
		// (get) Token: 0x0600D5A4 RID: 54692 RVA: 0x0023E7CD File Offset: 0x0023C9CD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SwordTrainingLearnSkillCsReq.Descriptor;
			}
		}

		// Token: 0x0600D5A5 RID: 54693 RVA: 0x0023E7D4 File Offset: 0x0023C9D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingLearnSkillCsReq()
		{
		}

		// Token: 0x0600D5A6 RID: 54694 RVA: 0x0023E7DC File Offset: 0x0023C9DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingLearnSkillCsReq(SwordTrainingLearnSkillCsReq other) : this()
		{
			this.skillId_ = other.skillId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D5A7 RID: 54695 RVA: 0x0023E801 File Offset: 0x0023CA01
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingLearnSkillCsReq Clone()
		{
			return new SwordTrainingLearnSkillCsReq(this);
		}

		// Token: 0x17003C5C RID: 15452
		// (get) Token: 0x0600D5A8 RID: 54696 RVA: 0x0023E809 File Offset: 0x0023CA09
		// (set) Token: 0x0600D5A9 RID: 54697 RVA: 0x0023E811 File Offset: 0x0023CA11
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint SkillId
		{
			get
			{
				return this.skillId_;
			}
			set
			{
				this.skillId_ = value;
			}
		}

		// Token: 0x0600D5AA RID: 54698 RVA: 0x0023E81A File Offset: 0x0023CA1A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SwordTrainingLearnSkillCsReq);
		}

		// Token: 0x0600D5AB RID: 54699 RVA: 0x0023E828 File Offset: 0x0023CA28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SwordTrainingLearnSkillCsReq other)
		{
			return other != null && (other == this || (this.SkillId == other.SkillId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D5AC RID: 54700 RVA: 0x0023E858 File Offset: 0x0023CA58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.SkillId != 0U)
			{
				num ^= this.SkillId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D5AD RID: 54701 RVA: 0x0023E897 File Offset: 0x0023CA97
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D5AE RID: 54702 RVA: 0x0023E89F File Offset: 0x0023CA9F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D5AF RID: 54703 RVA: 0x0023E8A8 File Offset: 0x0023CAA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.SkillId != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.SkillId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D5B0 RID: 54704 RVA: 0x0023E8DC File Offset: 0x0023CADC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.SkillId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.SkillId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D5B1 RID: 54705 RVA: 0x0023E91A File Offset: 0x0023CB1A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SwordTrainingLearnSkillCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.SkillId != 0U)
			{
				this.SkillId = other.SkillId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D5B2 RID: 54706 RVA: 0x0023E94B File Offset: 0x0023CB4B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D5B3 RID: 54707 RVA: 0x0023E954 File Offset: 0x0023CB54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.SkillId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005565 RID: 21861
		private static readonly MessageParser<SwordTrainingLearnSkillCsReq> _parser = new MessageParser<SwordTrainingLearnSkillCsReq>(() => new SwordTrainingLearnSkillCsReq());

		// Token: 0x04005566 RID: 21862
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005567 RID: 21863
		public const int SkillIdFieldNumber = 2;

		// Token: 0x04005568 RID: 21864
		private uint skillId_;
	}
}
